Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Allow cross builds via construo plugin #289

Open
wants to merge 15 commits into
base: main
Choose a base branch
from

Conversation

fourlastor
Copy link

Hello! I'm the author of construo, a plugin to cross compile JVM apps. This draft is to give an example on how it could be used to build jewel for different OSes

@rock3r rock3r self-requested a review January 29, 2024 16:23
@rock3r rock3r added documentation Improvements or additions to documentation feature New feature or request labels Jan 29, 2024
@rock3r
Copy link
Collaborator

rock3r commented Jan 29, 2024

Hi Daniele, thanks for the PR! Let me know when the Windows issue is solved :)

@fourlastor
Copy link
Author

roast is no longer considered a virus 🎉 😀 from MS:

Open command prompt as administrator and change directory to c:\Program Files\Windows Defender
Run “MpCmdRun.exe -removedefinitions -dynamicsignatures”
Run "MpCmdRun.exe -SignatureUpdate"

I tested (and had the original reporter testing it as well) and it could run without issues ✨

@rock3r
Copy link
Collaborator

rock3r commented Mar 11, 2024

@fourlastor would you be able to add a docs/distribute.md file with the necessary instructions, so we can actually merge this? We can then reference it from the readme (which I already want to break down in smaller chunks when I have time, like this would be)

@fourlastor
Copy link
Author

Sure, a note though that construo doesn't support signing the executable yet, which is why I opened this as a draft

@rock3r
Copy link
Collaborator

rock3r commented Mar 12, 2024

I think it's fine if it's well documented, and you reckon you'll add the signing to it and come back to update

@rock3r
Copy link
Collaborator

rock3r commented Nov 18, 2024

Hi Daniele, is this something that can be brought to the point where it's shippable? If not, we should likely close this. WDYT?

@fourlastor
Copy link
Author

Hi! Sorry for the long wait.

I can bring this to a shippable state, but without signing. We could still sign with apple's services (running the ci on a macos runner), but I doubt I'll be able to finish the signing part of construo anytime soon, both because I'm very unfamiliar with the process and because I physically don't have a mac to test the thing out 😅

There's been a few major changes in construo since, the most important being that I removed the integration with FooJay, as that more often than not leaded to the wrong JDK url being selected, I don't plan on adding it back as I think having a fixed url for the distribution JDK which is updated manually is a much safer and predictable process.

Let me know if this is still something that would work for jewel, and in that case I'll update the PR right away!

@rock3r
Copy link
Collaborator

rock3r commented Nov 19, 2024

@fourlastor yeah that still sounds pretty valuable. As long as the readme mentions that signing is up to you, I think it's fine :)

# Conflicts:
#	gradle/libs.versions.toml
#	samples/standalone/build.gradle.kts
docs/distribute.md Outdated Show resolved Hide resolved
gradle/libs.versions.toml Outdated Show resolved Hide resolved
@rock3r
Copy link
Collaborator

rock3r commented Nov 25, 2024

@fourlastor is the task renaming doable? If it's a Construo thing, then we'll do it separately :) and ship this

@fourlastor fourlastor marked this pull request as ready for review November 25, 2024 17:26
gradle/libs.versions.toml Outdated Show resolved Hide resolved
@crowforkotlin
Copy link

crowforkotlin commented Nov 29, 2024

@fourlastor is the task renaming doable? If it's a Construo thing, then we'll do it separately :) and ship this

JetBrains/JetBrainsRuntime#477

I think Construo actually just needs to fix the problem on the Mac, but so far it has been achieved. In addition, jbr on Windows and Linux already comes with a built-in jpackage, so it can coexist and package directly with Jewel. But jpackage is missing on mac, I don't know why, I'll try using construo first to see if that solves my problem

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
documentation Improvements or additions to documentation feature New feature or request
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants